package com.nine.entity;

import java.util.HashSet;
import java.util.Set;


/**
 * Shoppingcart entity. @author MyEclipse Persistence Tools
 */

public class Shoppingcart implements java.io.Serializable {

	// Fields

	private Integer cartId;
	private Customer customer;
	private Set shoppingcartitems = new HashSet(0);

	// Constructors

	/** default constructor */
	public Shoppingcart() {
	}

	/** minimal constructor */
	public Shoppingcart(Customer customer) {
		this.customer = customer;
	}

	/** full constructor */
	public Shoppingcart(Customer customer, Set shoppingcartitems) {
		this.customer = customer;
		this.shoppingcartitems = shoppingcartitems;
	}

	// Property accessors

	public Integer getCartId() {
		return this.cartId;
	}

	public void setCartId(Integer cartId) {
		this.cartId = cartId;
	}

	public Customer getCustomer() {
		return this.customer;
	}

	public void setCustomer(Customer customer) {
		this.customer = customer;
	}

	public Set getShoppingcartitems() {
		return this.shoppingcartitems;
	}

	public void setShoppingcartitems(Set shoppingcartitems) {
		this.shoppingcartitems = shoppingcartitems;
	}

}